package com.qkst.website.web.service;

import java.util.List;
import java.util.Map;

import com.qkst.website.web.bean.AccessoryBean;

/**
 * @author lihao
 * @description 附件 service
 * @date 2017-05-12
 * @email ahlxlihao@163.com
 */
public interface AccessoryService {

	/**
	 * 根据条件查询附件
	 * @param accessory
	 * @return
	 */
	public List<AccessoryBean> queryAccessoryList(AccessoryBean accessory);
	
	/**查询总记录数
	 * @param accessory
	 * @return
	 */
	public int queryCount(AccessoryBean accessory);

	/**
	 * 添加附件
	 * @param accessory
	 * @param result 
	 * @return Map<String, Object>
	 */
	public void save(AccessoryBean accessory, Map<String, Object> result);

	/**
	 * 删除附件
	 * @param accessory
	 * @param result
	 */
	public void delete(AccessoryBean accessory, Map<String, Object> result);


}
